a0 = input("请输入a:")
b0 = input("请输入b:")
a = float(a0)
b = float(b0)
c = a+b
d = a-b
print(f"{a}+{b}= %.2f"%c)
print(f"{a}-{b} = %.2f"%d)